using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace SpoonCore2.Message.Filter.Info
{
	class CompressionFilterInfo : IMessageFilterInfo
	{
		private bool _compressed = false;

		public bool Compressed
		{
			get { return _compressed; }
			set { _compressed = value; }
		}

		public void GetBytes(BinaryWriter bw)
		{
			bw.Write(Compressed);
		}

		public void SetBytes(BinaryReader br)
		{
			Compressed = br.ReadBoolean();
		}
	}
}
